Laravel considered harmful
日本語 Laravel considered harmful 〜SOLID原則にそぐわないLaravelのイマイチな習慣〜
一部だけ原文参照した
Facade pattern
Not only the facade pattern has nothing to do with what is implemented in Laravel (see https://en.wikipedia.org/wiki/Facade_pattern, thanks Taylor for the confusion)
細かすぎて伝わらないちょうぜつ本見どころ5選でも指摘されている、デザインパターンのFacadeじゃない問題
but it’s also a terrible practice. It’s yet another part of something that we cannot mock with east, it creates a blackbox and pushes to not use dependency injection.
Facadeパターン自体が簡単にモックできない
IMO:たしかにモックがブラックボックス。モックのテストは通るけど動かしてみたら実行時エラーはありそう